#	$OpenBSD: GENERIC,v 1.22 2015/07/20 19:44:32 pirofti Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

machine		octeon mips64
include		"../../../conf/GENERIC"
maxusers	32

option		CPU_OCTEON
option		FPUEMUL
makeoption	LINK_ADDRESS="0xffffffff81000000"

option		PCIVERBOSE
option		USER_PCICONF
option		USBVERBOSE

config	bsd	swap generic

#
# Definition of system
#
mainbus0	at root
cpu0		at mainbus0
clock0		at mainbus0
iobus0		at mainbus0
uartbus0	at mainbus0

octrtc0		at mainbus0

octcf0		at iobus0
amdcf0		at iobus0
octrng0		at iobus0

com0		at uartbus0
com1		at uartbus0

pcibus*		at iobus0
pci*		at pcibus?

ppb*		at pci?		# PCI-PCI bridges
pci*		at ppb?

cn30xxgmx*	at iobus? irq 48
cnmac*		at cn30xxgmx?

rgephy*		at mii?
ukphy*		at mii?
atphy*		at mii?
brswphy*	at mii?

# IDE Controller
pciide*		at pci? flags 0x0000

# IDE hard drives
wd*		at pciide? flags 0x0000

# USB Controllers
dwctwo0 	at iobus? irq 56

# USB bus support
usb*		at dwctwo?

# USB devices
uhub*		at usb?		# USB Hubs
umass*		at uhub?

scsibus*	at scsi?
sd*		at scsibus?
